package com.chainshop.common.core.domain.pojo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chainshop.common.annotation.Excel;
import com.chainshop.common.core.domain.BaseEntity;

/**
 * 存储支出申请的对象 expense_requests
 * 
 * @author hmy
 * @date 2024-08-15
 */
public class ExpenseRequests extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 支出申请ID */
    private Long id;

    /** 支出类型 */
    @Excel(name = "支出类型")
    private String expenditureType;

    /** 支出金额 */
    @Excel(name = "支出金额")
    private BigDecimal expenditureAmount;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyDate;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer auditStatus;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Integer storeId;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExpenditureType(String expenditureType) 
    {
        this.expenditureType = expenditureType;
    }

    public String getExpenditureType() 
    {
        return expenditureType;
    }
    public void setExpenditureAmount(BigDecimal expenditureAmount) 
    {
        this.expenditureAmount = expenditureAmount;
    }

    public BigDecimal getExpenditureAmount() 
    {
        return expenditureAmount;
    }
    public void setApplyDate(Date applyDate) 
    {
        this.applyDate = applyDate;
    }

    public Date getApplyDate() 
    {
        return applyDate;
    }
    public void setAuditStatus(Integer auditStatus)
    {
        this.auditStatus = auditStatus;
    }

    public Integer getAuditStatus()
    {
        return auditStatus;
    }
    public void setStoreId(Integer storeId) 
    {
        this.storeId = storeId;
    }

    public Integer getStoreId() 
    {
        return storeId;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("expenditureType", getExpenditureType())
            .append("expenditureAmount", getExpenditureAmount())
            .append("applyDate", getApplyDate())
            .append("auditStatus", getAuditStatus())
            .append("storeId", getStoreId())
            .append("description", getDescription())
            .toString();
    }
}
